package com.sp.api.springbootapi.service;

import com.sp.api.springbootapi.dao.CustomLockDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by weidewang on 2018/7/3
 */
@Service("customLockServiceImpl")
public class CustomLockServiceImpl implements CustomLockService {
    @Resource
    private CustomLockDao customLockDao;

    @Override
    public int deleteById(Integer id) {
        return customLockDao.deleteById(id);
    }

    @Override
    public int insert(Integer id) {
        return customLockDao.insert(id);
    }
}
